This document provides the interpretation of variable names in the data files shared in this dataverse project.

The first data file called in the script is mq.df.long. This encodes children's responses to modal questions. Data is in long format and has 8 variables:

id: A unique participant identifier
age.group: A categorical variable specifying the particpant's age group
mq.order: a categorical variable specifying the order that modal verbs were presented in. 
	a = can-have to-will
	b = can-will-have to
	c = have to-can-will
	d = have to-will-can
	e = will-can-have to
	f = will-have to-can
	
response: a character vector that codes the participant's response
verb: was the verb can, will, or have to?
input: was the marble held above the branching slide or a nonbranching slide?
output: was the indicated output certain (i.e., nonbranching) or uncertain (i.e., one of two branches)?

The second data file called in the script is called catching.mq.df. The encodes children's responses to the nonverbal task. Data is in long format and has 7 variables:

id: A unique participant identifier
age.group: A categorical variable specifying the particpant's age group
trial: a name for the trial
response: a categorical variable: did the child choose the certain option, the inner uncertain option, or the outer uncertain option
correct: a binary variable, reducing response to 1 (correct) or 0 (everything else)
trial.type: a categorical variable, encoding whether the trial was a pretest trial, an interim trial during the question phase, or a posttest trial
trial.number: a numeric variable ranging form 1 to 16, enumerating the trial number